package demo3

import "context"

type Service interface {
	Sum(ctx context.Context, a, b int) (int, error)
	Concat(ctx context.Context, a, b string) (string, error)
}

type basicService struct {
}

func (s basicService) Sum(_ context.Context, a, b int) (int, error) {
	return a + b, nil
}

func (s basicService) Concat(_ context.Context, a, b string) (string, error) {
	return a + b, nil
}
